package com.lc.admin.mapper;

import com.lc.admin.bean.NursingProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    List<NursingProject> list(@Param("name") String name, @Param("status") Integer status);

    void save(NursingProject nursingProject);

    NursingProject findById(Long id);

    void edit(NursingProject nursingProject);

    void enable(@Param("id") Long id,@Param("status") Integer status);

    void del(Integer id);
}
